package com.lt.test.entity.DTO;

import java.io.Serializable;

/**
 * 对账数据传输对象
 * Created by zhengchuan on 2017/4/21.
 */
public class CheckingDTO implements Serializable{
    private static final long serialVersionUID = 1L;

    private String tbcocompId; //烟草公司标识～
    private String tbcocompName; //烟草公司名称～
    private String bankCode; //收单行代码～
    private String bankName; //收单行名称～
    private String merId; //商户号～
    private String merName; //商户号名称～
    private String settleDate; //清算日期～
    private String payType; //交易类型（支付0，退货1）～
    private String payTypeName; //（支付0，退货1）～
    private Double payAmt; //支付金额～


    public String getTbcocompId() {
        return tbcocompId;
    }

    public void setTbcocompId(String tbcocompId) {
        this.tbcocompId = tbcocompId;
    }

    public String getTbcocompName() {
        return tbcocompName;
    }

    public void setTbcocompName(String tbcocompName) {
        this.tbcocompName = tbcocompName;
    }

    public String getBankCode() {
        return bankCode;
    }

    public void setBankCode(String bankCode) {
        this.bankCode = bankCode;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getMerId() {
        return merId;
    }

    public void setMerId(String merId) {
        this.merId = merId;
    }

    public String getMerName() {
        return merName;
    }

    public void setMerName(String merName) {
        this.merName = merName;
    }

    public String getSettleDate() {
        return settleDate;
    }

    public void setSettleDate(String settleDate) {
        this.settleDate = settleDate;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
        this.payTypeName = "0".equals(payType) ? "支付" : "1".equals(payType) ? "退货" : "未知";
    }

    public String getPayTypeName() {
        return payTypeName;
    }

    public void setPayTypeName(String payTypeName) {
        this.payTypeName = payTypeName;
    }

    public Double getPayAmt() {
        return payAmt;
    }

    public void setPayAmt(Double payAmt) {
        this.payAmt = payAmt;
    }


    @Override
    public String toString() {
        return "CheckingDTO{" +
                "tbcocompId='" + tbcocompId + '\'' +
                ", tbcocompName='" + tbcocompName + '\'' +
                ", bankCode='" + bankCode + '\'' +
                ", bankName='" + bankName + '\'' +
                ", merId='" + merId + '\'' +
                ", merName='" + merName + '\'' +
                ", settleDate='" + settleDate + '\'' +
                ", payType='" + payType + '\'' +
                ", payTypeName='" + payTypeName + '\'' +
                ", payAmt=" + payAmt +
                '}';
    }
}
